package com.mgetool.ui.drawer;

/**
 * bitmap的绘制参数，包含旋转角度、缩放参数、透明度等
 * @author wangbin
 *
 */
public class BitmapDrawerParam {
	//旋转角度
	private int rotate;
	//缩放参数
	private ScallingParam scaling;
	//透明度
	private int alpha;
	private int scallingAnchor;
	public BitmapDrawerParam(int rotate, ScallingParam scaling, int alpha){
		this.rotate = rotate;
		this.scaling = scaling;
		this.alpha = alpha;
	}

	public int getRotate() {
		return rotate;
	}

	public void setRotate(int rotate) {
		this.rotate = rotate;
	}

	public ScallingParam getScaling() {
		return scaling;
	}

	public void setScaling(ScallingParam scaling) {
		this.scaling = scaling;
	}

	public int getAlpha() {
		return alpha;
	}

	public void setAlpha(int alpha) {
		this.alpha = alpha;
	}

	public int getScallingAnchor() {
		return scallingAnchor;
	}

	public void setScallingAnchor(int scallingAnchor) {
		this.scallingAnchor = scallingAnchor;
	}
	
	
	
}
